If mod crashes on launch, this may happen for a few reasons:
1.You opened PlantsVsZombies.exe
Just open YAIS.exe to actually open the mod.

2.You pasted mod's files over original PvZ folder
No, it's not how you mod the game, extract it into an empty folder.

3.Your antivirus deleted important files
Due to unknown reasons it's an often problem with PvZ mods to be consider as malicious by antiviruses, so you just need to deactivate your antivirus for a moment to redownload the mod.

4.You launched the mod in full screen
For some reason the game launches poorly when its on full screen, so you could just open original PvZ, disable full screen and then open mod again

For all relevant solutions join the discord server https://discord.gg/PEq9m9QRef